//
//  NSArray+PYSafeObject.m
//  IHome
//
//   Created by zhujizheng on 2020/2/18.
//  Copyright © 2019年 com.zhujizheng. All rights reserved.
//

#import "NSArray+PYSafeObject.h"

@implementation NSArray (PYSafeObject)

- (id)objectAtSafeIndex:(NSUInteger)index
{
    if (self.count > index) {
        return [self objectAtIndex:index];
    }
    return nil;
}

@end
